home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Over 1,000 Games
/
1,000 Games - Disk 2.iso
/
mind
/
waktak
/
cdnscrn.c
< prev
next >
Wrap
C/C++ Source or Header
|
1996-04-05
|
1KB
|
42 lines
/***************************************************************************
COUNTDOWN SCREEN
****************************************************************************/
#include <dos.h>
#include <graphics.h>
#include "cdnscrn.h"
//#include "scrn2.h"
//#include "oscr.h"
//#include "wak.h"
void countdown_screen()
{
char L[6][2] = { "5", "4", "3", "2", "1", "0" };
register int index;
graphics_setup( WHITE );
settextstyle( SANS_SERIF_FONT, HORIZ_DIR, BIGNO_SIZE );
settextjustify( CENTER_TEXT, CENTER_TEXT );
setcolor( NO_COLOR );
for( index = 0; index < 6; index++ )
{
circle( CX, CY, RADIUS );
line( L1X1, L1Y1, L1X2, L1Y2 );
line( L2X1, L2Y1, L2X2, L2Y2 );
line( L3X1, L3Y1, L3X2, L3Y2 );
line( L4X1, L4Y1, L4X2, L4Y2 );
outtextxy( NOX, NOY, L[index] );
delay( PAUSEB );
clearviewport();
}
closegraph();
return;
}